package com.example.lenovo.designproxy_lxy.factory;

import com.example.lenovo.designproxy_lxy.Subject;
import com.example.lenovo.designproxy_lxy.proxy.ProxySubject;
import com.example.lenovo.designproxy_lxy.proxy.RealSubject;

/**
 * Created by lenovo on 2017/11/8.
 */

public class SubjectStaticFactory {


    public static Subject getInstance(){
        return new ProxySubject(new RealSubject());
    }


}
